<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<?php
if(isset($_GET['secao'])){
                    session_start();
                    if(strcmp(session_id(),$_GET['secao'])==1){
                        header('Location: Login.php');
                    }
echo "<html>";
    echo "<head>";
        echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">";
      echo "  <title></title>";
 echo  " </head>";
   echo" <body>";

       echo "<div>";
         echo "<a href=\"./consultaMedicamento.php?secao=".$_GET['secao']."\" target =\"adm\"><img src=\"./Icones/Medicamento.png\" alt=\"Produtos\" title=\"Medicamentos\" border=\"0\" ></a>";
          echo "<a href=\"./consultaInjetaveis.php?secao=".$_GET['secao']."\" target =\"adm\"><img src=\"./Icones/Injetveis.png\" alt=\"Injetaveis\" title=\"Injetaveis\" border=\"0\"></a>";
          echo "<a href=\"./consultaHorario.php?secao=".$_GET['secao']."\" target =\"adm\"><img src=\"./Icones/Planto.png\" alt=\"Plantao\" title=\"Plantao\" border=\"0\"></a>";
          echo "<a href=\"./consultaFuncionario.php?secao=".$_GET['secao']."\" target =\"adm\"><img src=\"./Icones/Funcionrios.png\" alt=\"Plantao\" title=\"Plantao\" border=\"0\"></a>";
      echo "</div>";
      echo "<iframe frameborder=\"0\" width=\"100%\" height=\"530\" name=\"adm\" scrolling=\"auto\"   src=\"\"></iframe>";
    echo "</body>";
echo "<html>";
} else{
    header('Location: Login.php');
 }
?>